Creates a StreamEventBean object that is used to push items into the profile timeline


Methods

Name Returns Notes Example
profile ( profileBean ) StreamEventBeanBuilder Set the profile that this event is for
profile ( user ) StreamEventBeanBuilder Set the profile and organisation that this event is for
org ( orgData ) StreamEventBeanBuilder Sets the Organisation this event belongs to
org ( org ) StreamEventBeanBuilder Sets the Organisation this event belongs to
category ( category ) StreamEventBeanBuilder Sets the category for this event, should be one of the bootstrap contextual classes, ie muted, primary, etc
date ( d ) StreamEventBeanBuilder Sets the date this event took place.
icon ( s ) StreamEventBeanBuilder Sets the icon to display for this item, should correspond to a font-awesome icon
desc ( s ) StreamEventBeanBuilder a short description of this event
path ( s ) StreamEventBeanBuilder a Path to link to this event
title ( s ) StreamEventBeanBuilder a Title of the event
repo ( s ) StreamEventBeanBuilder Sets the repository this event relates to
branch ( s ) StreamEventBeanBuilder Sets the branch this repository relates to
inbound ( b ) StreamEventBeanBuilder Sets if this represents an action coming from the user to the server, otherwise is outbound, ie pushed from us to them
data ( data ) StreamEventBeanBuilder Sets a map of data related to this event
build ( ) StreamEventBean Builds the StreamEventBean and returns it.

Ask a question, or offer an answer